package com.yin.project.admin.rbac.service;

import java.util.List;

import com.yin.project.admin.rbac.model.MenuEntity;

/**
 * Created by Eason on 2016/12/1.
 */
public interface MenuService {

    List<MenuEntity> queryMenusByParams();
    /**
     * 添加菜单
     * @param menu
     * @return 菜单ID
     */
    public void addMenu(MenuEntity menu);
    /**
     * 修改菜单
     * @param menu
     */
    public MenuEntity updateMenu(MenuEntity menuEntity);
    /**
     * 查询一个菜单
     * @return
     */
    MenuEntity queryMenusById(String id);
    /**
     * 删除菜单
     * @return
     */
    public void  deleteMenu(String id);
    
}
